package com.vm.utils;

import android.graphics.Bitmap;

import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.wwt.app.R;

public class MyDisplayImageOptions {

	public static DisplayImageOptions getInstance() {
		return new DisplayImageOptions.Builder()
				.showImageOnLoading(R.drawable.loading)
				.showImageOnFail(R.drawable.error).cacheInMemory(true)
				.cacheOnDisk(true).bitmapConfig(Bitmap.Config.RGB_565).build();
	}

}
